package cn.jishiyu11.xeqb.activity.personalCenterActivitys

import android.os.Bundle
import android.view.View
import android.widget.TextView

import cn.jishiyu11.xeqb.R
import cn.jishiyu11.xeqb.base.BaseActivity
import cn.jishiyu11.xeqb.utils.PhoneAppVersion
import com.umeng.analytics.MobclickAgent
import kotlinx.android.synthetic.main.act_setup_about.*
import kotlinx.android.synthetic.main.tab_activity_fra.*

/**
 * Created by vvguoliang on 2017/6/28.
 * 关于我们
 */

class AboutUsActivity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.act_setup_about)
        findViewById()
    }

    override fun findViewById() {
        title_image.visibility = View.VISIBLE
        title_image.setOnClickListener { finish() }
        (title_view as TextView).text = this.getString(R.string.name_loan_set_up_about)
        act_setup_version.text = "版本号： V$PhoneAppVersion"
        about_us_content.text = "${getString(R.string.name_loan_set_up_about_text)}"
    }

    override fun initView() {

    }

    override fun onResume() {
        super.onResume()
        MobclickAgent.onResume(this)
    }

    override fun onPause() {
        super.onPause()
        MobclickAgent.onPause(this)
    }

}
